const membershipFee = [
  {
    path: 'membershipFee',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'MembershipFee',
    redirect: '/membershipFee',
    alwaysShow: true,
    meta: {
      title: 'membershipFee',
      icon: 'el-icon-bank-card',
      code: 'DuanAndMembershipFee',
      deleteThis: true
    },
    children: [
      {
        path: 'paymentList',
        name: 'PaymentList',
        meta: {
          title: 'paymentList',
          code: 'DuanAndMembershipFee',
          icon: 'el-icon-document',
          deleteThis: true
        },
        component: () => import(/* webpackChunkName: "platform" */ '@/views/membershipFee/index'),
        children: [
          { // 缴纳列表
            path: '',
            name: 'PaymentList',
            hidden: true,
            meta: {
              title: 'paymentList',
              code: 'DuanAndMembershipFee',
              breadcrumb: false
            },
            component: () => import(/* webpackChunkName: "platform" */ '@/views/membershipFee/components/paymentList.vue')
          },
          { // 缴纳详情
            path: 'paymentDetail',
            name: 'PaymentDetail',
            hidden: true,
            meta: {
              title: 'paymentDetail',
              code: 'DuanAndMembershipFee',
              activeMenu: '/membershipFee/paymentList'
            },
            component: () => import(/* webpackChunkName: "platform" */ '@/views/membershipFee/components/paymentDetail.vue')
          }
        ]
      }
    ]
  },
  // 角色权限赋权使用 不渲染侧边栏
  {
    // 培训等级
    path: 'membershipFee1',
    hidden: true,
    meta: {
      title: 'membershipFee',
      code: 'MembershipFeeSetting'
    }
  }
];

export default [
  ...membershipFee
];
